import logging
import time




def have_log():
    now_time=time.strftime('%Y%m%d-%H%M%S')
    log=logging.basicConfig(filemode='a+',filename='./'+now_time+'jiuxian.log',level=logging.INFO,format='%(message)s--%(filename)s--%(asctime)s')
    return log